repo: Change the pairs of checksums to instead be based on OstreeRepoFiles
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 7 Sep 2013 00:17:44 +0000 (20:17 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 10 Sep 2013 02:51:33 +0000 (22:51 -0400)
commitc7f9fc9c63c3686c7899503b64eed79261f7aa3b
tree2822010bf99074f2ff194ca02721f2bd3b4b2554
parent33db74d0ce0adbc790574351bb1d9d21f55edbda
repo: Change the pairs of checksums to instead be based on OstreeRepoFiles

We want an OstreeRepoFile to be the way to reference a "filesystem
tree" that's stored in the repo, which is a combination of a DIR_TREE
and a DIR_META. The idea is that once you write an mtree to the repo
using ostree_repo_write_mtree, it becomes serialized and you get an
OstreeRepoFile in return.

Change any APIs that care about DIR_TREE / DIR_META checksums to care
about OstreeRepoFiles instead, which right now is mostly is
ostree_repo_write_commit.

https://bugzilla.gnome.org/show_bug.cgi?id=707727
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-file.c
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.h
src/ostree/ot-builtin-commit.c